import argparse as ap

parser = ap.ArgumentParser(description="用于向PNG文件注入代码")

parser.add_argument("src",type=str,help="源文件")
parser.add_argument("dst",type=str,help="待插入文件")
parser.add_argument("-out",type=str,help="输出文件")
argv = parser.parse_args()

dst = open(argv.dst,"br")
com = open(argv.out,"bw")
src = open(argv.src,"br")
com.write(src.read())
com.write(b'\r\n/*')
com.write(dst.read())
com.write(b'\r\n*/')

dst.close()
src.close()
com.close()